const {DataTypes} =  require('sequelize');
const sequelizeObj = require('./sequelizeObj')

const typeModel = sequelizeObj.define(
    'typeInfo',
    {
        id:{
            type:DataTypes.INTEGER,
            primaryKey:true,
            autoIncrement:true
        },
        typeName:{
            type:DataTypes.STRING,
            field:'type_name'
        },
        typeLevel:{
            type:DataTypes.INTEGER,
            field:'type_level'
        }       
    }
);

module.exports = typeModel